package rank

import (
	"GameServer/Game/rank/internal"

	"GameServer/Game/m"
)

var RankModule = internal.NewRank()

func GetUnionRank() []*m.UnionRank {
	return RankModule.GetUnionRank()
}

func GetUserRank() []*m.UserRank {
	return RankModule.GetUserRank()
}

func AddUnionRank(union *m.Union) {
	RankModule.AddUnionRank(union)
}

func AddUserRank(user *m.User) {
	RankModule.AddUserRank(user)
}
